using System;
using Web.App.Infrastructure.ApplicationMessages.Implementation;

namespace Webshop20.Application.Operations.Messages
{
    public class AddProductToCartResponse : ResponseMessageBase
    {
        private readonly Guid? visitorInterimKey;
        private readonly int? visitorId;
        private readonly int productId;

        public AddProductToCartResponse(DomainMessage domainMessage, Guid? visitorInterimKey, int? visitorId, int productId) : base(domainMessage)
        {
            this.visitorInterimKey = visitorInterimKey;
            this.productId = productId;
            this.visitorId = visitorId;
        }

        public int ProductId
        {
            get { return productId; }
        }

        public int? VisitorId
        {
            get { return visitorId; }
        }

        public Guid? VisitorInterimKey
        {
            get { return visitorInterimKey; }
        }

    }
}